package com.sy.server.model;

import java.util.ArrayList;
import java.util.List;

public class CostExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CostExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Integer value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Integer value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Integer value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Integer value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Integer> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Integer> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Integer value1, Integer value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andDayIsNull() {
            addCriterion("day is null");
            return (Criteria) this;
        }

        public Criteria andDayIsNotNull() {
            addCriterion("day is not null");
            return (Criteria) this;
        }

        public Criteria andDayEqualTo(String value) {
            addCriterion("day =", value, "day");
            return (Criteria) this;
        }

        public Criteria andDayNotEqualTo(String value) {
            addCriterion("day <>", value, "day");
            return (Criteria) this;
        }

        public Criteria andDayGreaterThan(String value) {
            addCriterion("day >", value, "day");
            return (Criteria) this;
        }

        public Criteria andDayGreaterThanOrEqualTo(String value) {
            addCriterion("day >=", value, "day");
            return (Criteria) this;
        }

        public Criteria andDayLessThan(String value) {
            addCriterion("day <", value, "day");
            return (Criteria) this;
        }

        public Criteria andDayLessThanOrEqualTo(String value) {
            addCriterion("day <=", value, "day");
            return (Criteria) this;
        }

        public Criteria andDayLike(String value) {
            addCriterion("day like", value, "day");
            return (Criteria) this;
        }

        public Criteria andDayNotLike(String value) {
            addCriterion("day not like", value, "day");
            return (Criteria) this;
        }

        public Criteria andDayIn(List<String> values) {
            addCriterion("day in", values, "day");
            return (Criteria) this;
        }

        public Criteria andDayNotIn(List<String> values) {
            addCriterion("day not in", values, "day");
            return (Criteria) this;
        }

        public Criteria andDayBetween(String value1, String value2) {
            addCriterion("day between", value1, value2, "day");
            return (Criteria) this;
        }

        public Criteria andDayNotBetween(String value1, String value2) {
            addCriterion("day not between", value1, value2, "day");
            return (Criteria) this;
        }

        public Criteria andEatIsNull() {
            addCriterion("eat is null");
            return (Criteria) this;
        }

        public Criteria andEatIsNotNull() {
            addCriterion("eat is not null");
            return (Criteria) this;
        }

        public Criteria andEatEqualTo(Double value) {
            addCriterion("eat =", value, "eat");
            return (Criteria) this;
        }

        public Criteria andEatNotEqualTo(Double value) {
            addCriterion("eat <>", value, "eat");
            return (Criteria) this;
        }

        public Criteria andEatGreaterThan(Double value) {
            addCriterion("eat >", value, "eat");
            return (Criteria) this;
        }

        public Criteria andEatGreaterThanOrEqualTo(Double value) {
            addCriterion("eat >=", value, "eat");
            return (Criteria) this;
        }

        public Criteria andEatLessThan(Double value) {
            addCriterion("eat <", value, "eat");
            return (Criteria) this;
        }

        public Criteria andEatLessThanOrEqualTo(Double value) {
            addCriterion("eat <=", value, "eat");
            return (Criteria) this;
        }

        public Criteria andEatIn(List<Double> values) {
            addCriterion("eat in", values, "eat");
            return (Criteria) this;
        }

        public Criteria andEatNotIn(List<Double> values) {
            addCriterion("eat not in", values, "eat");
            return (Criteria) this;
        }

        public Criteria andEatBetween(Double value1, Double value2) {
            addCriterion("eat between", value1, value2, "eat");
            return (Criteria) this;
        }

        public Criteria andEatNotBetween(Double value1, Double value2) {
            addCriterion("eat not between", value1, value2, "eat");
            return (Criteria) this;
        }

        public Criteria andEatDetailIsNull() {
            addCriterion("eat_detail is null");
            return (Criteria) this;
        }

        public Criteria andEatDetailIsNotNull() {
            addCriterion("eat_detail is not null");
            return (Criteria) this;
        }

        public Criteria andEatDetailEqualTo(String value) {
            addCriterion("eat_detail =", value, "eatDetail");
            return (Criteria) this;
        }

        public Criteria andEatDetailNotEqualTo(String value) {
            addCriterion("eat_detail <>", value, "eatDetail");
            return (Criteria) this;
        }

        public Criteria andEatDetailGreaterThan(String value) {
            addCriterion("eat_detail >", value, "eatDetail");
            return (Criteria) this;
        }

        public Criteria andEatDetailGreaterThanOrEqualTo(String value) {
            addCriterion("eat_detail >=", value, "eatDetail");
            return (Criteria) this;
        }

        public Criteria andEatDetailLessThan(String value) {
            addCriterion("eat_detail <", value, "eatDetail");
            return (Criteria) this;
        }

        public Criteria andEatDetailLessThanOrEqualTo(String value) {
            addCriterion("eat_detail <=", value, "eatDetail");
            return (Criteria) this;
        }

        public Criteria andEatDetailLike(String value) {
            addCriterion("eat_detail like", value, "eatDetail");
            return (Criteria) this;
        }

        public Criteria andEatDetailNotLike(String value) {
            addCriterion("eat_detail not like", value, "eatDetail");
            return (Criteria) this;
        }

        public Criteria andEatDetailIn(List<String> values) {
            addCriterion("eat_detail in", values, "eatDetail");
            return (Criteria) this;
        }

        public Criteria andEatDetailNotIn(List<String> values) {
            addCriterion("eat_detail not in", values, "eatDetail");
            return (Criteria) this;
        }

        public Criteria andEatDetailBetween(String value1, String value2) {
            addCriterion("eat_detail between", value1, value2, "eatDetail");
            return (Criteria) this;
        }

        public Criteria andEatDetailNotBetween(String value1, String value2) {
            addCriterion("eat_detail not between", value1, value2, "eatDetail");
            return (Criteria) this;
        }

        public Criteria andHouseIsNull() {
            addCriterion("house is null");
            return (Criteria) this;
        }

        public Criteria andHouseIsNotNull() {
            addCriterion("house is not null");
            return (Criteria) this;
        }

        public Criteria andHouseEqualTo(Double value) {
            addCriterion("house =", value, "house");
            return (Criteria) this;
        }

        public Criteria andHouseNotEqualTo(Double value) {
            addCriterion("house <>", value, "house");
            return (Criteria) this;
        }

        public Criteria andHouseGreaterThan(Double value) {
            addCriterion("house >", value, "house");
            return (Criteria) this;
        }

        public Criteria andHouseGreaterThanOrEqualTo(Double value) {
            addCriterion("house >=", value, "house");
            return (Criteria) this;
        }

        public Criteria andHouseLessThan(Double value) {
            addCriterion("house <", value, "house");
            return (Criteria) this;
        }

        public Criteria andHouseLessThanOrEqualTo(Double value) {
            addCriterion("house <=", value, "house");
            return (Criteria) this;
        }

        public Criteria andHouseIn(List<Double> values) {
            addCriterion("house in", values, "house");
            return (Criteria) this;
        }

        public Criteria andHouseNotIn(List<Double> values) {
            addCriterion("house not in", values, "house");
            return (Criteria) this;
        }

        public Criteria andHouseBetween(Double value1, Double value2) {
            addCriterion("house between", value1, value2, "house");
            return (Criteria) this;
        }

        public Criteria andHouseNotBetween(Double value1, Double value2) {
            addCriterion("house not between", value1, value2, "house");
            return (Criteria) this;
        }

        public Criteria andHouseDetailIsNull() {
            addCriterion("house_detail is null");
            return (Criteria) this;
        }

        public Criteria andHouseDetailIsNotNull() {
            addCriterion("house_detail is not null");
            return (Criteria) this;
        }

        public Criteria andHouseDetailEqualTo(String value) {
            addCriterion("house_detail =", value, "houseDetail");
            return (Criteria) this;
        }

        public Criteria andHouseDetailNotEqualTo(String value) {
            addCriterion("house_detail <>", value, "houseDetail");
            return (Criteria) this;
        }

        public Criteria andHouseDetailGreaterThan(String value) {
            addCriterion("house_detail >", value, "houseDetail");
            return (Criteria) this;
        }

        public Criteria andHouseDetailGreaterThanOrEqualTo(String value) {
            addCriterion("house_detail >=", value, "houseDetail");
            return (Criteria) this;
        }

        public Criteria andHouseDetailLessThan(String value) {
            addCriterion("house_detail <", value, "houseDetail");
            return (Criteria) this;
        }

        public Criteria andHouseDetailLessThanOrEqualTo(String value) {
            addCriterion("house_detail <=", value, "houseDetail");
            return (Criteria) this;
        }

        public Criteria andHouseDetailLike(String value) {
            addCriterion("house_detail like", value, "houseDetail");
            return (Criteria) this;
        }

        public Criteria andHouseDetailNotLike(String value) {
            addCriterion("house_detail not like", value, "houseDetail");
            return (Criteria) this;
        }

        public Criteria andHouseDetailIn(List<String> values) {
            addCriterion("house_detail in", values, "houseDetail");
            return (Criteria) this;
        }

        public Criteria andHouseDetailNotIn(List<String> values) {
            addCriterion("house_detail not in", values, "houseDetail");
            return (Criteria) this;
        }

        public Criteria andHouseDetailBetween(String value1, String value2) {
            addCriterion("house_detail between", value1, value2, "houseDetail");
            return (Criteria) this;
        }

        public Criteria andHouseDetailNotBetween(String value1, String value2) {
            addCriterion("house_detail not between", value1, value2, "houseDetail");
            return (Criteria) this;
        }

        public Criteria andCommunicationIsNull() {
            addCriterion("communication is null");
            return (Criteria) this;
        }

        public Criteria andCommunicationIsNotNull() {
            addCriterion("communication is not null");
            return (Criteria) this;
        }

        public Criteria andCommunicationEqualTo(Double value) {
            addCriterion("communication =", value, "communication");
            return (Criteria) this;
        }

        public Criteria andCommunicationNotEqualTo(Double value) {
            addCriterion("communication <>", value, "communication");
            return (Criteria) this;
        }

        public Criteria andCommunicationGreaterThan(Double value) {
            addCriterion("communication >", value, "communication");
            return (Criteria) this;
        }

        public Criteria andCommunicationGreaterThanOrEqualTo(Double value) {
            addCriterion("communication >=", value, "communication");
            return (Criteria) this;
        }

        public Criteria andCommunicationLessThan(Double value) {
            addCriterion("communication <", value, "communication");
            return (Criteria) this;
        }

        public Criteria andCommunicationLessThanOrEqualTo(Double value) {
            addCriterion("communication <=", value, "communication");
            return (Criteria) this;
        }

        public Criteria andCommunicationIn(List<Double> values) {
            addCriterion("communication in", values, "communication");
            return (Criteria) this;
        }

        public Criteria andCommunicationNotIn(List<Double> values) {
            addCriterion("communication not in", values, "communication");
            return (Criteria) this;
        }

        public Criteria andCommunicationBetween(Double value1, Double value2) {
            addCriterion("communication between", value1, value2, "communication");
            return (Criteria) this;
        }

        public Criteria andCommunicationNotBetween(Double value1, Double value2) {
            addCriterion("communication not between", value1, value2, "communication");
            return (Criteria) this;
        }

        public Criteria andCommunicationDetailIsNull() {
            addCriterion("communication_detail is null");
            return (Criteria) this;
        }

        public Criteria andCommunicationDetailIsNotNull() {
            addCriterion("communication_detail is not null");
            return (Criteria) this;
        }

        public Criteria andCommunicationDetailEqualTo(String value) {
            addCriterion("communication_detail =", value, "communicationDetail");
            return (Criteria) this;
        }

        public Criteria andCommunicationDetailNotEqualTo(String value) {
            addCriterion("communication_detail <>", value, "communicationDetail");
            return (Criteria) this;
        }

        public Criteria andCommunicationDetailGreaterThan(String value) {
            addCriterion("communication_detail >", value, "communicationDetail");
            return (Criteria) this;
        }

        public Criteria andCommunicationDetailGreaterThanOrEqualTo(String value) {
            addCriterion("communication_detail >=", value, "communicationDetail");
            return (Criteria) this;
        }

        public Criteria andCommunicationDetailLessThan(String value) {
            addCriterion("communication_detail <", value, "communicationDetail");
            return (Criteria) this;
        }

        public Criteria andCommunicationDetailLessThanOrEqualTo(String value) {
            addCriterion("communication_detail <=", value, "communicationDetail");
            return (Criteria) this;
        }

        public Criteria andCommunicationDetailLike(String value) {
            addCriterion("communication_detail like", value, "communicationDetail");
            return (Criteria) this;
        }

        public Criteria andCommunicationDetailNotLike(String value) {
            addCriterion("communication_detail not like", value, "communicationDetail");
            return (Criteria) this;
        }

        public Criteria andCommunicationDetailIn(List<String> values) {
            addCriterion("communication_detail in", values, "communicationDetail");
            return (Criteria) this;
        }

        public Criteria andCommunicationDetailNotIn(List<String> values) {
            addCriterion("communication_detail not in", values, "communicationDetail");
            return (Criteria) this;
        }

        public Criteria andCommunicationDetailBetween(String value1, String value2) {
            addCriterion("communication_detail between", value1, value2, "communicationDetail");
            return (Criteria) this;
        }

        public Criteria andCommunicationDetailNotBetween(String value1, String value2) {
            addCriterion("communication_detail not between", value1, value2, "communicationDetail");
            return (Criteria) this;
        }

        public Criteria andTrafficIsNull() {
            addCriterion("traffic is null");
            return (Criteria) this;
        }

        public Criteria andTrafficIsNotNull() {
            addCriterion("traffic is not null");
            return (Criteria) this;
        }

        public Criteria andTrafficEqualTo(Double value) {
            addCriterion("traffic =", value, "traffic");
            return (Criteria) this;
        }

        public Criteria andTrafficNotEqualTo(Double value) {
            addCriterion("traffic <>", value, "traffic");
            return (Criteria) this;
        }

        public Criteria andTrafficGreaterThan(Double value) {
            addCriterion("traffic >", value, "traffic");
            return (Criteria) this;
        }

        public Criteria andTrafficGreaterThanOrEqualTo(Double value) {
            addCriterion("traffic >=", value, "traffic");
            return (Criteria) this;
        }

        public Criteria andTrafficLessThan(Double value) {
            addCriterion("traffic <", value, "traffic");
            return (Criteria) this;
        }

        public Criteria andTrafficLessThanOrEqualTo(Double value) {
            addCriterion("traffic <=", value, "traffic");
            return (Criteria) this;
        }

        public Criteria andTrafficIn(List<Double> values) {
            addCriterion("traffic in", values, "traffic");
            return (Criteria) this;
        }

        public Criteria andTrafficNotIn(List<Double> values) {
            addCriterion("traffic not in", values, "traffic");
            return (Criteria) this;
        }

        public Criteria andTrafficBetween(Double value1, Double value2) {
            addCriterion("traffic between", value1, value2, "traffic");
            return (Criteria) this;
        }

        public Criteria andTrafficNotBetween(Double value1, Double value2) {
            addCriterion("traffic not between", value1, value2, "traffic");
            return (Criteria) this;
        }

        public Criteria andTrafficDetailIsNull() {
            addCriterion("traffic_detail is null");
            return (Criteria) this;
        }

        public Criteria andTrafficDetailIsNotNull() {
            addCriterion("traffic_detail is not null");
            return (Criteria) this;
        }

        public Criteria andTrafficDetailEqualTo(String value) {
            addCriterion("traffic_detail =", value, "trafficDetail");
            return (Criteria) this;
        }

        public Criteria andTrafficDetailNotEqualTo(String value) {
            addCriterion("traffic_detail <>", value, "trafficDetail");
            return (Criteria) this;
        }

        public Criteria andTrafficDetailGreaterThan(String value) {
            addCriterion("traffic_detail >", value, "trafficDetail");
            return (Criteria) this;
        }

        public Criteria andTrafficDetailGreaterThanOrEqualTo(String value) {
            addCriterion("traffic_detail >=", value, "trafficDetail");
            return (Criteria) this;
        }

        public Criteria andTrafficDetailLessThan(String value) {
            addCriterion("traffic_detail <", value, "trafficDetail");
            return (Criteria) this;
        }

        public Criteria andTrafficDetailLessThanOrEqualTo(String value) {
            addCriterion("traffic_detail <=", value, "trafficDetail");
            return (Criteria) this;
        }

        public Criteria andTrafficDetailLike(String value) {
            addCriterion("traffic_detail like", value, "trafficDetail");
            return (Criteria) this;
        }

        public Criteria andTrafficDetailNotLike(String value) {
            addCriterion("traffic_detail not like", value, "trafficDetail");
            return (Criteria) this;
        }

        public Criteria andTrafficDetailIn(List<String> values) {
            addCriterion("traffic_detail in", values, "trafficDetail");
            return (Criteria) this;
        }

        public Criteria andTrafficDetailNotIn(List<String> values) {
            addCriterion("traffic_detail not in", values, "trafficDetail");
            return (Criteria) this;
        }

        public Criteria andTrafficDetailBetween(String value1, String value2) {
            addCriterion("traffic_detail between", value1, value2, "trafficDetail");
            return (Criteria) this;
        }

        public Criteria andTrafficDetailNotBetween(String value1, String value2) {
            addCriterion("traffic_detail not between", value1, value2, "trafficDetail");
            return (Criteria) this;
        }

        public Criteria andDailyIsNull() {
            addCriterion("daily is null");
            return (Criteria) this;
        }

        public Criteria andDailyIsNotNull() {
            addCriterion("daily is not null");
            return (Criteria) this;
        }

        public Criteria andDailyEqualTo(Double value) {
            addCriterion("daily =", value, "daily");
            return (Criteria) this;
        }

        public Criteria andDailyNotEqualTo(Double value) {
            addCriterion("daily <>", value, "daily");
            return (Criteria) this;
        }

        public Criteria andDailyGreaterThan(Double value) {
            addCriterion("daily >", value, "daily");
            return (Criteria) this;
        }

        public Criteria andDailyGreaterThanOrEqualTo(Double value) {
            addCriterion("daily >=", value, "daily");
            return (Criteria) this;
        }

        public Criteria andDailyLessThan(Double value) {
            addCriterion("daily <", value, "daily");
            return (Criteria) this;
        }

        public Criteria andDailyLessThanOrEqualTo(Double value) {
            addCriterion("daily <=", value, "daily");
            return (Criteria) this;
        }

        public Criteria andDailyIn(List<Double> values) {
            addCriterion("daily in", values, "daily");
            return (Criteria) this;
        }

        public Criteria andDailyNotIn(List<Double> values) {
            addCriterion("daily not in", values, "daily");
            return (Criteria) this;
        }

        public Criteria andDailyBetween(Double value1, Double value2) {
            addCriterion("daily between", value1, value2, "daily");
            return (Criteria) this;
        }

        public Criteria andDailyNotBetween(Double value1, Double value2) {
            addCriterion("daily not between", value1, value2, "daily");
            return (Criteria) this;
        }

        public Criteria andDailyDetailIsNull() {
            addCriterion("daily_detail is null");
            return (Criteria) this;
        }

        public Criteria andDailyDetailIsNotNull() {
            addCriterion("daily_detail is not null");
            return (Criteria) this;
        }

        public Criteria andDailyDetailEqualTo(String value) {
            addCriterion("daily_detail =", value, "dailyDetail");
            return (Criteria) this;
        }

        public Criteria andDailyDetailNotEqualTo(String value) {
            addCriterion("daily_detail <>", value, "dailyDetail");
            return (Criteria) this;
        }

        public Criteria andDailyDetailGreaterThan(String value) {
            addCriterion("daily_detail >", value, "dailyDetail");
            return (Criteria) this;
        }

        public Criteria andDailyDetailGreaterThanOrEqualTo(String value) {
            addCriterion("daily_detail >=", value, "dailyDetail");
            return (Criteria) this;
        }

        public Criteria andDailyDetailLessThan(String value) {
            addCriterion("daily_detail <", value, "dailyDetail");
            return (Criteria) this;
        }

        public Criteria andDailyDetailLessThanOrEqualTo(String value) {
            addCriterion("daily_detail <=", value, "dailyDetail");
            return (Criteria) this;
        }

        public Criteria andDailyDetailLike(String value) {
            addCriterion("daily_detail like", value, "dailyDetail");
            return (Criteria) this;
        }

        public Criteria andDailyDetailNotLike(String value) {
            addCriterion("daily_detail not like", value, "dailyDetail");
            return (Criteria) this;
        }

        public Criteria andDailyDetailIn(List<String> values) {
            addCriterion("daily_detail in", values, "dailyDetail");
            return (Criteria) this;
        }

        public Criteria andDailyDetailNotIn(List<String> values) {
            addCriterion("daily_detail not in", values, "dailyDetail");
            return (Criteria) this;
        }

        public Criteria andDailyDetailBetween(String value1, String value2) {
            addCriterion("daily_detail between", value1, value2, "dailyDetail");
            return (Criteria) this;
        }

        public Criteria andDailyDetailNotBetween(String value1, String value2) {
            addCriterion("daily_detail not between", value1, value2, "dailyDetail");
            return (Criteria) this;
        }

        public Criteria andEducationIsNull() {
            addCriterion("education is null");
            return (Criteria) this;
        }

        public Criteria andEducationIsNotNull() {
            addCriterion("education is not null");
            return (Criteria) this;
        }

        public Criteria andEducationEqualTo(Double value) {
            addCriterion("education =", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationNotEqualTo(Double value) {
            addCriterion("education <>", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationGreaterThan(Double value) {
            addCriterion("education >", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationGreaterThanOrEqualTo(Double value) {
            addCriterion("education >=", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationLessThan(Double value) {
            addCriterion("education <", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationLessThanOrEqualTo(Double value) {
            addCriterion("education <=", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationIn(List<Double> values) {
            addCriterion("education in", values, "education");
            return (Criteria) this;
        }

        public Criteria andEducationNotIn(List<Double> values) {
            addCriterion("education not in", values, "education");
            return (Criteria) this;
        }

        public Criteria andEducationBetween(Double value1, Double value2) {
            addCriterion("education between", value1, value2, "education");
            return (Criteria) this;
        }

        public Criteria andEducationNotBetween(Double value1, Double value2) {
            addCriterion("education not between", value1, value2, "education");
            return (Criteria) this;
        }

        public Criteria andEducationDetailIsNull() {
            addCriterion("education_detail is null");
            return (Criteria) this;
        }

        public Criteria andEducationDetailIsNotNull() {
            addCriterion("education_detail is not null");
            return (Criteria) this;
        }

        public Criteria andEducationDetailEqualTo(String value) {
            addCriterion("education_detail =", value, "educationDetail");
            return (Criteria) this;
        }

        public Criteria andEducationDetailNotEqualTo(String value) {
            addCriterion("education_detail <>", value, "educationDetail");
            return (Criteria) this;
        }

        public Criteria andEducationDetailGreaterThan(String value) {
            addCriterion("education_detail >", value, "educationDetail");
            return (Criteria) this;
        }

        public Criteria andEducationDetailGreaterThanOrEqualTo(String value) {
            addCriterion("education_detail >=", value, "educationDetail");
            return (Criteria) this;
        }

        public Criteria andEducationDetailLessThan(String value) {
            addCriterion("education_detail <", value, "educationDetail");
            return (Criteria) this;
        }

        public Criteria andEducationDetailLessThanOrEqualTo(String value) {
            addCriterion("education_detail <=", value, "educationDetail");
            return (Criteria) this;
        }

        public Criteria andEducationDetailLike(String value) {
            addCriterion("education_detail like", value, "educationDetail");
            return (Criteria) this;
        }

        public Criteria andEducationDetailNotLike(String value) {
            addCriterion("education_detail not like", value, "educationDetail");
            return (Criteria) this;
        }

        public Criteria andEducationDetailIn(List<String> values) {
            addCriterion("education_detail in", values, "educationDetail");
            return (Criteria) this;
        }

        public Criteria andEducationDetailNotIn(List<String> values) {
            addCriterion("education_detail not in", values, "educationDetail");
            return (Criteria) this;
        }

        public Criteria andEducationDetailBetween(String value1, String value2) {
            addCriterion("education_detail between", value1, value2, "educationDetail");
            return (Criteria) this;
        }

        public Criteria andEducationDetailNotBetween(String value1, String value2) {
            addCriterion("education_detail not between", value1, value2, "educationDetail");
            return (Criteria) this;
        }

        public Criteria andClothesIsNull() {
            addCriterion("clothes is null");
            return (Criteria) this;
        }

        public Criteria andClothesIsNotNull() {
            addCriterion("clothes is not null");
            return (Criteria) this;
        }

        public Criteria andClothesEqualTo(Double value) {
            addCriterion("clothes =", value, "clothes");
            return (Criteria) this;
        }

        public Criteria andClothesNotEqualTo(Double value) {
            addCriterion("clothes <>", value, "clothes");
            return (Criteria) this;
        }

        public Criteria andClothesGreaterThan(Double value) {
            addCriterion("clothes >", value, "clothes");
            return (Criteria) this;
        }

        public Criteria andClothesGreaterThanOrEqualTo(Double value) {
            addCriterion("clothes >=", value, "clothes");
            return (Criteria) this;
        }

        public Criteria andClothesLessThan(Double value) {
            addCriterion("clothes <", value, "clothes");
            return (Criteria) this;
        }

        public Criteria andClothesLessThanOrEqualTo(Double value) {
            addCriterion("clothes <=", value, "clothes");
            return (Criteria) this;
        }

        public Criteria andClothesIn(List<Double> values) {
            addCriterion("clothes in", values, "clothes");
            return (Criteria) this;
        }

        public Criteria andClothesNotIn(List<Double> values) {
            addCriterion("clothes not in", values, "clothes");
            return (Criteria) this;
        }

        public Criteria andClothesBetween(Double value1, Double value2) {
            addCriterion("clothes between", value1, value2, "clothes");
            return (Criteria) this;
        }

        public Criteria andClothesNotBetween(Double value1, Double value2) {
            addCriterion("clothes not between", value1, value2, "clothes");
            return (Criteria) this;
        }

        public Criteria andClothesDetailIsNull() {
            addCriterion("clothes_detail is null");
            return (Criteria) this;
        }

        public Criteria andClothesDetailIsNotNull() {
            addCriterion("clothes_detail is not null");
            return (Criteria) this;
        }

        public Criteria andClothesDetailEqualTo(String value) {
            addCriterion("clothes_detail =", value, "clothesDetail");
            return (Criteria) this;
        }

        public Criteria andClothesDetailNotEqualTo(String value) {
            addCriterion("clothes_detail <>", value, "clothesDetail");
            return (Criteria) this;
        }

        public Criteria andClothesDetailGreaterThan(String value) {
            addCriterion("clothes_detail >", value, "clothesDetail");
            return (Criteria) this;
        }

        public Criteria andClothesDetailGreaterThanOrEqualTo(String value) {
            addCriterion("clothes_detail >=", value, "clothesDetail");
            return (Criteria) this;
        }

        public Criteria andClothesDetailLessThan(String value) {
            addCriterion("clothes_detail <", value, "clothesDetail");
            return (Criteria) this;
        }

        public Criteria andClothesDetailLessThanOrEqualTo(String value) {
            addCriterion("clothes_detail <=", value, "clothesDetail");
            return (Criteria) this;
        }

        public Criteria andClothesDetailLike(String value) {
            addCriterion("clothes_detail like", value, "clothesDetail");
            return (Criteria) this;
        }

        public Criteria andClothesDetailNotLike(String value) {
            addCriterion("clothes_detail not like", value, "clothesDetail");
            return (Criteria) this;
        }

        public Criteria andClothesDetailIn(List<String> values) {
            addCriterion("clothes_detail in", values, "clothesDetail");
            return (Criteria) this;
        }

        public Criteria andClothesDetailNotIn(List<String> values) {
            addCriterion("clothes_detail not in", values, "clothesDetail");
            return (Criteria) this;
        }

        public Criteria andClothesDetailBetween(String value1, String value2) {
            addCriterion("clothes_detail between", value1, value2, "clothesDetail");
            return (Criteria) this;
        }

        public Criteria andClothesDetailNotBetween(String value1, String value2) {
            addCriterion("clothes_detail not between", value1, value2, "clothesDetail");
            return (Criteria) this;
        }

        public Criteria andSnacksIsNull() {
            addCriterion("snacks is null");
            return (Criteria) this;
        }

        public Criteria andSnacksIsNotNull() {
            addCriterion("snacks is not null");
            return (Criteria) this;
        }

        public Criteria andSnacksEqualTo(Double value) {
            addCriterion("snacks =", value, "snacks");
            return (Criteria) this;
        }

        public Criteria andSnacksNotEqualTo(Double value) {
            addCriterion("snacks <>", value, "snacks");
            return (Criteria) this;
        }

        public Criteria andSnacksGreaterThan(Double value) {
            addCriterion("snacks >", value, "snacks");
            return (Criteria) this;
        }

        public Criteria andSnacksGreaterThanOrEqualTo(Double value) {
            addCriterion("snacks >=", value, "snacks");
            return (Criteria) this;
        }

        public Criteria andSnacksLessThan(Double value) {
            addCriterion("snacks <", value, "snacks");
            return (Criteria) this;
        }

        public Criteria andSnacksLessThanOrEqualTo(Double value) {
            addCriterion("snacks <=", value, "snacks");
            return (Criteria) this;
        }

        public Criteria andSnacksIn(List<Double> values) {
            addCriterion("snacks in", values, "snacks");
            return (Criteria) this;
        }

        public Criteria andSnacksNotIn(List<Double> values) {
            addCriterion("snacks not in", values, "snacks");
            return (Criteria) this;
        }

        public Criteria andSnacksBetween(Double value1, Double value2) {
            addCriterion("snacks between", value1, value2, "snacks");
            return (Criteria) this;
        }

        public Criteria andSnacksNotBetween(Double value1, Double value2) {
            addCriterion("snacks not between", value1, value2, "snacks");
            return (Criteria) this;
        }

        public Criteria andSnacksDetailIsNull() {
            addCriterion("snacks_detail is null");
            return (Criteria) this;
        }

        public Criteria andSnacksDetailIsNotNull() {
            addCriterion("snacks_detail is not null");
            return (Criteria) this;
        }

        public Criteria andSnacksDetailEqualTo(String value) {
            addCriterion("snacks_detail =", value, "snacksDetail");
            return (Criteria) this;
        }

        public Criteria andSnacksDetailNotEqualTo(String value) {
            addCriterion("snacks_detail <>", value, "snacksDetail");
            return (Criteria) this;
        }

        public Criteria andSnacksDetailGreaterThan(String value) {
            addCriterion("snacks_detail >", value, "snacksDetail");
            return (Criteria) this;
        }

        public Criteria andSnacksDetailGreaterThanOrEqualTo(String value) {
            addCriterion("snacks_detail >=", value, "snacksDetail");
            return (Criteria) this;
        }

        public Criteria andSnacksDetailLessThan(String value) {
            addCriterion("snacks_detail <", value, "snacksDetail");
            return (Criteria) this;
        }

        public Criteria andSnacksDetailLessThanOrEqualTo(String value) {
            addCriterion("snacks_detail <=", value, "snacksDetail");
            return (Criteria) this;
        }

        public Criteria andSnacksDetailLike(String value) {
            addCriterion("snacks_detail like", value, "snacksDetail");
            return (Criteria) this;
        }

        public Criteria andSnacksDetailNotLike(String value) {
            addCriterion("snacks_detail not like", value, "snacksDetail");
            return (Criteria) this;
        }

        public Criteria andSnacksDetailIn(List<String> values) {
            addCriterion("snacks_detail in", values, "snacksDetail");
            return (Criteria) this;
        }

        public Criteria andSnacksDetailNotIn(List<String> values) {
            addCriterion("snacks_detail not in", values, "snacksDetail");
            return (Criteria) this;
        }

        public Criteria andSnacksDetailBetween(String value1, String value2) {
            addCriterion("snacks_detail between", value1, value2, "snacksDetail");
            return (Criteria) this;
        }

        public Criteria andSnacksDetailNotBetween(String value1, String value2) {
            addCriterion("snacks_detail not between", value1, value2, "snacksDetail");
            return (Criteria) this;
        }

        public Criteria andFruitsIsNull() {
            addCriterion("fruits is null");
            return (Criteria) this;
        }

        public Criteria andFruitsIsNotNull() {
            addCriterion("fruits is not null");
            return (Criteria) this;
        }

        public Criteria andFruitsEqualTo(Double value) {
            addCriterion("fruits =", value, "fruits");
            return (Criteria) this;
        }

        public Criteria andFruitsNotEqualTo(Double value) {
            addCriterion("fruits <>", value, "fruits");
            return (Criteria) this;
        }

        public Criteria andFruitsGreaterThan(Double value) {
            addCriterion("fruits >", value, "fruits");
            return (Criteria) this;
        }

        public Criteria andFruitsGreaterThanOrEqualTo(Double value) {
            addCriterion("fruits >=", value, "fruits");
            return (Criteria) this;
        }

        public Criteria andFruitsLessThan(Double value) {
            addCriterion("fruits <", value, "fruits");
            return (Criteria) this;
        }

        public Criteria andFruitsLessThanOrEqualTo(Double value) {
            addCriterion("fruits <=", value, "fruits");
            return (Criteria) this;
        }

        public Criteria andFruitsIn(List<Double> values) {
            addCriterion("fruits in", values, "fruits");
            return (Criteria) this;
        }

        public Criteria andFruitsNotIn(List<Double> values) {
            addCriterion("fruits not in", values, "fruits");
            return (Criteria) this;
        }

        public Criteria andFruitsBetween(Double value1, Double value2) {
            addCriterion("fruits between", value1, value2, "fruits");
            return (Criteria) this;
        }

        public Criteria andFruitsNotBetween(Double value1, Double value2) {
            addCriterion("fruits not between", value1, value2, "fruits");
            return (Criteria) this;
        }

        public Criteria andFruitsDetailIsNull() {
            addCriterion("fruits_detail is null");
            return (Criteria) this;
        }

        public Criteria andFruitsDetailIsNotNull() {
            addCriterion("fruits_detail is not null");
            return (Criteria) this;
        }

        public Criteria andFruitsDetailEqualTo(String value) {
            addCriterion("fruits_detail =", value, "fruitsDetail");
            return (Criteria) this;
        }

        public Criteria andFruitsDetailNotEqualTo(String value) {
            addCriterion("fruits_detail <>", value, "fruitsDetail");
            return (Criteria) this;
        }

        public Criteria andFruitsDetailGreaterThan(String value) {
            addCriterion("fruits_detail >", value, "fruitsDetail");
            return (Criteria) this;
        }

        public Criteria andFruitsDetailGreaterThanOrEqualTo(String value) {
            addCriterion("fruits_detail >=", value, "fruitsDetail");
            return (Criteria) this;
        }

        public Criteria andFruitsDetailLessThan(String value) {
            addCriterion("fruits_detail <", value, "fruitsDetail");
            return (Criteria) this;
        }

        public Criteria andFruitsDetailLessThanOrEqualTo(String value) {
            addCriterion("fruits_detail <=", value, "fruitsDetail");
            return (Criteria) this;
        }

        public Criteria andFruitsDetailLike(String value) {
            addCriterion("fruits_detail like", value, "fruitsDetail");
            return (Criteria) this;
        }

        public Criteria andFruitsDetailNotLike(String value) {
            addCriterion("fruits_detail not like", value, "fruitsDetail");
            return (Criteria) this;
        }

        public Criteria andFruitsDetailIn(List<String> values) {
            addCriterion("fruits_detail in", values, "fruitsDetail");
            return (Criteria) this;
        }

        public Criteria andFruitsDetailNotIn(List<String> values) {
            addCriterion("fruits_detail not in", values, "fruitsDetail");
            return (Criteria) this;
        }

        public Criteria andFruitsDetailBetween(String value1, String value2) {
            addCriterion("fruits_detail between", value1, value2, "fruitsDetail");
            return (Criteria) this;
        }

        public Criteria andFruitsDetailNotBetween(String value1, String value2) {
            addCriterion("fruits_detail not between", value1, value2, "fruitsDetail");
            return (Criteria) this;
        }

        public Criteria andMedicalIsNull() {
            addCriterion("medical is null");
            return (Criteria) this;
        }

        public Criteria andMedicalIsNotNull() {
            addCriterion("medical is not null");
            return (Criteria) this;
        }

        public Criteria andMedicalEqualTo(Double value) {
            addCriterion("medical =", value, "medical");
            return (Criteria) this;
        }

        public Criteria andMedicalNotEqualTo(Double value) {
            addCriterion("medical <>", value, "medical");
            return (Criteria) this;
        }

        public Criteria andMedicalGreaterThan(Double value) {
            addCriterion("medical >", value, "medical");
            return (Criteria) this;
        }

        public Criteria andMedicalGreaterThanOrEqualTo(Double value) {
            addCriterion("medical >=", value, "medical");
            return (Criteria) this;
        }

        public Criteria andMedicalLessThan(Double value) {
            addCriterion("medical <", value, "medical");
            return (Criteria) this;
        }

        public Criteria andMedicalLessThanOrEqualTo(Double value) {
            addCriterion("medical <=", value, "medical");
            return (Criteria) this;
        }

        public Criteria andMedicalIn(List<Double> values) {
            addCriterion("medical in", values, "medical");
            return (Criteria) this;
        }

        public Criteria andMedicalNotIn(List<Double> values) {
            addCriterion("medical not in", values, "medical");
            return (Criteria) this;
        }

        public Criteria andMedicalBetween(Double value1, Double value2) {
            addCriterion("medical between", value1, value2, "medical");
            return (Criteria) this;
        }

        public Criteria andMedicalNotBetween(Double value1, Double value2) {
            addCriterion("medical not between", value1, value2, "medical");
            return (Criteria) this;
        }

        public Criteria andMedicalDetailIsNull() {
            addCriterion("medical_detail is null");
            return (Criteria) this;
        }

        public Criteria andMedicalDetailIsNotNull() {
            addCriterion("medical_detail is not null");
            return (Criteria) this;
        }

        public Criteria andMedicalDetailEqualTo(String value) {
            addCriterion("medical_detail =", value, "medicalDetail");
            return (Criteria) this;
        }

        public Criteria andMedicalDetailNotEqualTo(String value) {
            addCriterion("medical_detail <>", value, "medicalDetail");
            return (Criteria) this;
        }

        public Criteria andMedicalDetailGreaterThan(String value) {
            addCriterion("medical_detail >", value, "medicalDetail");
            return (Criteria) this;
        }

        public Criteria andMedicalDetailGreaterThanOrEqualTo(String value) {
            addCriterion("medical_detail >=", value, "medicalDetail");
            return (Criteria) this;
        }

        public Criteria andMedicalDetailLessThan(String value) {
            addCriterion("medical_detail <", value, "medicalDetail");
            return (Criteria) this;
        }

        public Criteria andMedicalDetailLessThanOrEqualTo(String value) {
            addCriterion("medical_detail <=", value, "medicalDetail");
            return (Criteria) this;
        }

        public Criteria andMedicalDetailLike(String value) {
            addCriterion("medical_detail like", value, "medicalDetail");
            return (Criteria) this;
        }

        public Criteria andMedicalDetailNotLike(String value) {
            addCriterion("medical_detail not like", value, "medicalDetail");
            return (Criteria) this;
        }

        public Criteria andMedicalDetailIn(List<String> values) {
            addCriterion("medical_detail in", values, "medicalDetail");
            return (Criteria) this;
        }

        public Criteria andMedicalDetailNotIn(List<String> values) {
            addCriterion("medical_detail not in", values, "medicalDetail");
            return (Criteria) this;
        }

        public Criteria andMedicalDetailBetween(String value1, String value2) {
            addCriterion("medical_detail between", value1, value2, "medicalDetail");
            return (Criteria) this;
        }

        public Criteria andMedicalDetailNotBetween(String value1, String value2) {
            addCriterion("medical_detail not between", value1, value2, "medicalDetail");
            return (Criteria) this;
        }

        public Criteria andOthersIsNull() {
            addCriterion("others is null");
            return (Criteria) this;
        }

        public Criteria andOthersIsNotNull() {
            addCriterion("others is not null");
            return (Criteria) this;
        }

        public Criteria andOthersEqualTo(Double value) {
            addCriterion("others =", value, "others");
            return (Criteria) this;
        }

        public Criteria andOthersNotEqualTo(Double value) {
            addCriterion("others <>", value, "others");
            return (Criteria) this;
        }

        public Criteria andOthersGreaterThan(Double value) {
            addCriterion("others >", value, "others");
            return (Criteria) this;
        }

        public Criteria andOthersGreaterThanOrEqualTo(Double value) {
            addCriterion("others >=", value, "others");
            return (Criteria) this;
        }

        public Criteria andOthersLessThan(Double value) {
            addCriterion("others <", value, "others");
            return (Criteria) this;
        }

        public Criteria andOthersLessThanOrEqualTo(Double value) {
            addCriterion("others <=", value, "others");
            return (Criteria) this;
        }

        public Criteria andOthersIn(List<Double> values) {
            addCriterion("others in", values, "others");
            return (Criteria) this;
        }

        public Criteria andOthersNotIn(List<Double> values) {
            addCriterion("others not in", values, "others");
            return (Criteria) this;
        }

        public Criteria andOthersBetween(Double value1, Double value2) {
            addCriterion("others between", value1, value2, "others");
            return (Criteria) this;
        }

        public Criteria andOthersNotBetween(Double value1, Double value2) {
            addCriterion("others not between", value1, value2, "others");
            return (Criteria) this;
        }

        public Criteria andOthersDetailIsNull() {
            addCriterion("others_detail is null");
            return (Criteria) this;
        }

        public Criteria andOthersDetailIsNotNull() {
            addCriterion("others_detail is not null");
            return (Criteria) this;
        }

        public Criteria andOthersDetailEqualTo(String value) {
            addCriterion("others_detail =", value, "othersDetail");
            return (Criteria) this;
        }

        public Criteria andOthersDetailNotEqualTo(String value) {
            addCriterion("others_detail <>", value, "othersDetail");
            return (Criteria) this;
        }

        public Criteria andOthersDetailGreaterThan(String value) {
            addCriterion("others_detail >", value, "othersDetail");
            return (Criteria) this;
        }

        public Criteria andOthersDetailGreaterThanOrEqualTo(String value) {
            addCriterion("others_detail >=", value, "othersDetail");
            return (Criteria) this;
        }

        public Criteria andOthersDetailLessThan(String value) {
            addCriterion("others_detail <", value, "othersDetail");
            return (Criteria) this;
        }

        public Criteria andOthersDetailLessThanOrEqualTo(String value) {
            addCriterion("others_detail <=", value, "othersDetail");
            return (Criteria) this;
        }

        public Criteria andOthersDetailLike(String value) {
            addCriterion("others_detail like", value, "othersDetail");
            return (Criteria) this;
        }

        public Criteria andOthersDetailNotLike(String value) {
            addCriterion("others_detail not like", value, "othersDetail");
            return (Criteria) this;
        }

        public Criteria andOthersDetailIn(List<String> values) {
            addCriterion("others_detail in", values, "othersDetail");
            return (Criteria) this;
        }

        public Criteria andOthersDetailNotIn(List<String> values) {
            addCriterion("others_detail not in", values, "othersDetail");
            return (Criteria) this;
        }

        public Criteria andOthersDetailBetween(String value1, String value2) {
            addCriterion("others_detail between", value1, value2, "othersDetail");
            return (Criteria) this;
        }

        public Criteria andOthersDetailNotBetween(String value1, String value2) {
            addCriterion("others_detail not between", value1, value2, "othersDetail");
            return (Criteria) this;
        }

        public Criteria andSumIsNull() {
            addCriterion("sum is null");
            return (Criteria) this;
        }

        public Criteria andSumIsNotNull() {
            addCriterion("sum is not null");
            return (Criteria) this;
        }

        public Criteria andSumEqualTo(Double value) {
            addCriterion("sum =", value, "sum");
            return (Criteria) this;
        }

        public Criteria andSumNotEqualTo(Double value) {
            addCriterion("sum <>", value, "sum");
            return (Criteria) this;
        }

        public Criteria andSumGreaterThan(Double value) {
            addCriterion("sum >", value, "sum");
            return (Criteria) this;
        }

        public Criteria andSumGreaterThanOrEqualTo(Double value) {
            addCriterion("sum >=", value, "sum");
            return (Criteria) this;
        }

        public Criteria andSumLessThan(Double value) {
            addCriterion("sum <", value, "sum");
            return (Criteria) this;
        }

        public Criteria andSumLessThanOrEqualTo(Double value) {
            addCriterion("sum <=", value, "sum");
            return (Criteria) this;
        }

        public Criteria andSumIn(List<Double> values) {
            addCriterion("sum in", values, "sum");
            return (Criteria) this;
        }

        public Criteria andSumNotIn(List<Double> values) {
            addCriterion("sum not in", values, "sum");
            return (Criteria) this;
        }

        public Criteria andSumBetween(Double value1, Double value2) {
            addCriterion("sum between", value1, value2, "sum");
            return (Criteria) this;
        }

        public Criteria andSumNotBetween(Double value1, Double value2) {
            addCriterion("sum not between", value1, value2, "sum");
            return (Criteria) this;
        }

        public Criteria andTodayEventIsNull() {
            addCriterion("today_event is null");
            return (Criteria) this;
        }

        public Criteria andTodayEventIsNotNull() {
            addCriterion("today_event is not null");
            return (Criteria) this;
        }

        public Criteria andTodayEventEqualTo(String value) {
            addCriterion("today_event =", value, "todayEvent");
            return (Criteria) this;
        }

        public Criteria andTodayEventNotEqualTo(String value) {
            addCriterion("today_event <>", value, "todayEvent");
            return (Criteria) this;
        }

        public Criteria andTodayEventGreaterThan(String value) {
            addCriterion("today_event >", value, "todayEvent");
            return (Criteria) this;
        }

        public Criteria andTodayEventGreaterThanOrEqualTo(String value) {
            addCriterion("today_event >=", value, "todayEvent");
            return (Criteria) this;
        }

        public Criteria andTodayEventLessThan(String value) {
            addCriterion("today_event <", value, "todayEvent");
            return (Criteria) this;
        }

        public Criteria andTodayEventLessThanOrEqualTo(String value) {
            addCriterion("today_event <=", value, "todayEvent");
            return (Criteria) this;
        }

        public Criteria andTodayEventLike(String value) {
            addCriterion("today_event like", value, "todayEvent");
            return (Criteria) this;
        }

        public Criteria andTodayEventNotLike(String value) {
            addCriterion("today_event not like", value, "todayEvent");
            return (Criteria) this;
        }

        public Criteria andTodayEventIn(List<String> values) {
            addCriterion("today_event in", values, "todayEvent");
            return (Criteria) this;
        }

        public Criteria andTodayEventNotIn(List<String> values) {
            addCriterion("today_event not in", values, "todayEvent");
            return (Criteria) this;
        }

        public Criteria andTodayEventBetween(String value1, String value2) {
            addCriterion("today_event between", value1, value2, "todayEvent");
            return (Criteria) this;
        }

        public Criteria andTodayEventNotBetween(String value1, String value2) {
            addCriterion("today_event not between", value1, value2, "todayEvent");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}